﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

public partial class Usercentermenu : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["CommunityUser"] == null)
        {
            usermenu.Visible = false;
            loginmeun.Visible = true;
           
        }
        else {
            usermenu.Visible = true;
            loginmeun.Visible = false;
        
        }
        if (Equals("lemonhall",Session["CommunityUser"]))
        {
            editfaq.Disabled = false;

        }
        else
        {
            editfaq.Disabled = true;
            editfaq.Visible = false;

        }
    }
}
